package view;

import view.images.SpriteCache;

public abstract class AbstractGraphics implements GraphicsInterface{
	
	private SpriteCache spriteCache;
	protected Screen screen;
	
	public AbstractGraphics(Screen screen) {
		this.spriteCache = screen.getSpriteCache();
		this.screen = screen;
	}

	public SpriteCache getSpriteCache() {
		return spriteCache;
	}

	public void setSpriteCache(SpriteCache spriteCache) {
		this.spriteCache = spriteCache;
	}

	public Screen getScreen() {
		return screen;
	}

	public void setScreen(Screen screen) {
		this.screen = screen;
	}
	
}
